import java.util.Scanner;

public class Main7 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        double dollar = in.nextDouble();
        ProfitCal pc = new ProfitCal();
        System.out.printf("%.3f\n", pc.calProfit(dollar));
    }
}

/* 请在这里填写答案 */
class ProfitCal {
    public double calProfit(double dollar) {
        double profit = 1 + 0.00417;
        double tmp = 0;
        for (int i = 1; i <= 6; i++) {
            tmp = (tmp + dollar) * profit;
        }
        return tmp;
    }
}

